Total Complexity | 15 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 114 |
Lines of code | 93 |
Logical lines of code | 27 |
Comment lines | 0 |
Methods | 8 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save() | 52 | 4 | 28 | |
update() | 55 | 3 | 22 | |
delete() | 62 | 3 | 12 | |
__construct() | 81 | 1 | 3 | |
get_variant_by_id() | 68 | 1 | 8 | |
get_product_variants() | 68 | 1 | 8 | |
get_all() | 65 | 1 | 8 | |
get_variants_count() | 75 | 1 | 4 |